package com.example.sourcecodelearning.modules.operationlog.dataobject;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@TableName("t_operation_log")
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class OperationLogDO {

    @TableId(type = IdType.AUTO)
    private Long id;

    private String userId;

    private String operation;

    private String traceId;

    private String applicationName;

    private String path;

    private String method;

    private String params;

    private Long costTime;

    private String ip;

    private Integer retCode;

    private String result;
}
